<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<jsp:directive.page import="com.anhry.app.safety.util.Util"/>
<%@ include file="/WEB-INF/pages/share/taglib.jsp"%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>隐患信息查看</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<link href="<%=basePath+Util.SKIN%>/css/right.css" type="text/css" rel="stylesheet">
	<script type="text/javascript" src="<%=basePath%>/js/jquery-1.7.2.js"></script>
	<style>
		* html body {padding:0px 0px 6px 0px;}
	</style>
  </head>
  
  <body>
	<div  class="body-box">
		<div id="container">
	    	<table border="0" cellspacing="0" cellpadding="0"  width="100%" class="info_table">
				<tr>
					<td class="title_td" width="15%">隐患类型：</td>
					<td>${yh.yhType1Name }——${yh.yhType2Name }</td>
				</tr>
				<tr>
					<td class="title_td">发现单位：</td>
					<td>${yh.yhUnitName }<s:if test="%{yh.yhDeptName!=null}">-${yh.yhDeptName }</s:if> </td>
				</tr>
				<tr>
					<td class="title_td">发现时间：</td>
					<td><s:date name="yh.yhFxTime" format="yyyy-MM-dd"/></td>
				</tr>
				<tr>
					<td class="title_td">隐患地点：</td>
					<td>${yh.yhAdds }</td>
				</tr>
				<tr>
					<td class="title_td">隐患部位：</td>
					<td>${yh.yhBwei }</td>
				</tr>
				<tr>
					<td class="title_td">隐患的现状及其产生原因摘要：</td>
					<td><textarea rows="2" cols="45" name="yhXcyy" readonly="readonly">${yh.yhXcyy }</textarea></td>
				</tr>
				<tr>
					<td class="title_td">隐患的危害程度和整改难易程度分析摘要：</td>
					<td><textarea rows="2" cols="45" name="yhYxfw" readonly="readonly">${yh.yhYxfw }</textarea></td>
				</tr>
				<tr>
					<td class="title_td">事故隐患的治理方案摘要：</td>
					<td><textarea rows="2" cols="45" name="yhJkcs" readonly="readonly">${yh.yhJkcs }</textarea></td>
				</tr>
				<tr>
					<td class="title_td">隐患是否已整改：</td>
					<td>${yh.yhIsZg==0?'<font color="red">否</font>':'是'}</td>
				</tr>
				<tr>
					<td class="title_td">整改措施：</td>
					<td>
						<s:if test="%{yh.yhZgType==1}">立即整改</s:if>
		     			<s:if test="%{yh.yhZgType==2}">限期整改</s:if>
		     			<s:if test="%{yh.yhZgType==3}">停产停业整顿</s:if>
					</td>
				</tr>
				<tr>
					<td class="title_td">企业整改责任人：</td>
					<td>${yh.yhZgZrr}</td>
				</tr>
				<tr>
					<td class="title_td">责任人电话：</td>
					<td>${yh.yhZrrTel}</td>
				</tr>
				<tr>
					<td class="title_td">隐患图片：</td>
					<td id="moreyh">
						<s:if test="%{fjList1.size>0}">
							<br/>
							<s:iterator id="fj" value="fjList1">
								<span id="yhfj_${fj.id}">
									<a href="<%=filePath%>/${fj.fjPath }" target="_blank" title="点击查看原图"><img src="<%=filePath%>/${fj.fjPath }" border="0" width="80px" height="80px"></a>
								</span>
							</s:iterator>
						</s:if>
					</td>
				</tr>
				<tr>
					<td class="title_td">隐患报告：</td>
					<td id="moredoc">
						<s:if test="%{fjList3.size>0}">
							<s:iterator id="fj" value="fjList3">
								<span id="docfj_${fj.id}">
									<a href="<%=filePath%>/${fj.fjPath }" target="_blank">${fj.fjTitle }</a>
								</span>
							</s:iterator>
						</s:if>
					</td>
				</tr>
		  	</table>
		</div>
	</div>
  </body>
</html>
